package nsu.edu.zsq.dao;

import java.util.List;

import nsu.edu.zsq.bean.ResitExamTeacher;
import nsu.edu.zsq.bean.ResitExamTeacherExample;
import org.apache.ibatis.annotations.Param;

public interface ResitExamTeacherMapper {
    /**
     *
     */
    long countByExample(ResitExamTeacherExample example);

    /**
     *
     */
    int deleteByExample(ResitExamTeacherExample example);

    /**
     *
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     */
    int insert(ResitExamTeacher record);

    /**
     *
     */
    int insertSelective(ResitExamTeacher record);

    /**
     *
     */
    List<ResitExamTeacher> selectByExample(ResitExamTeacherExample example);

    /**
     *
     */
    ResitExamTeacher selectByPrimaryKey(Integer id);

    /**
     *
     */
    int updateByExampleSelective(@Param("record") ResitExamTeacher record, @Param("example") ResitExamTeacherExample example);

    /**
     *
     */
    int updateByExample(@Param("record") ResitExamTeacher record, @Param("example") ResitExamTeacherExample example);

    /**
     *
     */
    int updateByPrimaryKeySelective(ResitExamTeacher record);

    /**
     *
     */
    int updateByPrimaryKey(ResitExamTeacher record);

    /**
     * 获取该补考课程的所有监考教师
     * @param resitExamTeacher 监考教师信息（resitExamId,roomName）
     * @return List<ResitExamTeacher>
     */
    List<ResitExamTeacher> listResitExamTeacher(ResitExamTeacher resitExamTeacher);
}